<?php

/**
 * Description of DonorVisitForm
 *
 * @author LongLT
 */
class DonorVisitForm extends CWidget {

    public $donorvisit 		= array();
    public $visit_delete	= null;

    public function run() {
    	$donorvisit 		= $this->donorvisit;
    	$count_visit		= count($donorvisit);
//echo "<pre>";print_r($donorvisit);
    	$visit_delete		= $this->visit_delete;
        $this->render('DonorVisitForm', compact('donorvisit', 'visit_delete', 'count_visit'));
    }

}
